package cn.wolfcode.domain;

import lombok.*;

import java.util.ArrayList;
import java.util.List;

@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class Employee {
    //  员工id
    private Long id;
    //  员工姓名
    private String name;
    //  员工密码
    private String password;
    //  员工邮箱
    private String email;
    //  员工年龄
    private Integer age;
    //  超级管理员权限
    private boolean admin;

    //  关联属性
    private Department dept;

    private List<Role> roles = new ArrayList<>();

    //  员工状态
    private boolean status = true;
}